package com.dwd.org.mapper;

import com.dwd.basic.mapper.BaseMapper;
import com.dwd.basic.utils.PageBean;
import com.dwd.org.pojo.DictionaryDetail;
import com.dwd.org.pojo.DictionaryType;
import com.dwd.org.query.DictionaryDetailQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
@Mapper
public interface DictionaryDetailMapper extends BaseMapper<DictionaryDetail> {

    //    List<DictionaryDetail> queryPageBytypesid(@Param("query") DictionaryDetailQuery query, @Param("id") Long id);
    List<DictionaryDetail> queryPageBytypesid(@Param("begin") Integer begin, @Param("pageSize") Integer pageSize, @Param("keywords") String keywords, @Param("id") Long id);

    Long queryCountDetail(@Param("keywords") String keywords, @Param("id") Long id);
}